package com.hzhr.iot.collect.model.collectLog;

import com.hzhr.iot.collect.entity.CollectLogEntity;
import com.hzhr.iot.core.annotation.CygModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "CollectLogPostModel", description = "采集日志模型(新增)")
@CygModel(entity = CollectLogEntity.class)
public class CollectLogPostModel {
    @ApiModelProperty(value = "说明 : 协议编号", required = true)
    private Integer protocalId;
    @ApiModelProperty(value = "说明 : 功能码", required = true)
    private String functionCode;
    @ApiModelProperty(value = "说明 : 报文编号", required = true)
    private String messageId;
    @ApiModelProperty(value = "说明 : 采集设备编号(关联: device_service.collectDevice.id)")
    private Integer collectDeviceId;
    @ApiModelProperty(value = "说明 : 物联网设备编号(关联: device_service.iotDevice.id)", required = true)
    private Integer iotDeviceId;
    @ApiModelProperty(value = "说明 : 物联网设备代码(关联: device_service.iotDevice.code)", required = true)
    private String iotDeviceCode;
    @ApiModelProperty(value = "说明 : 物联网设备imei号(关联: device_service.iotDevice.imei)")
    private String iotDeviceImei;
    @ApiModelProperty(value = "说明 : 发起对象(1 服务器 2 设备)", required = true)
    private Integer starter;
    @ApiModelProperty(value = "说明 : 类型(1 请求 2 响应)", required = true)
    private Integer type;
    @ApiModelProperty(value = "说明 : 发起时间(毫秒级时间戳)", required = true)
    private Long startTime;
    @ApiModelProperty(value = "说明 : 报文", required = true)
    private String message;
    @ApiModelProperty(value = "说明 : 报文对象", required = true)
    private String messageObj;
    @ApiModelProperty(value = "说明 : 信息")
    private String info;

    public Integer getProtocalId() {
        return protocalId;
    }

    public void setProtocalId(Integer protocalId) {
        this.protocalId = protocalId;
    }

    public String getFunctionCode() {
        return functionCode;
    }

    public void setFunctionCode(String functionCode) {
        this.functionCode = functionCode;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }

    public Integer getCollectDeviceId() {
        return collectDeviceId;
    }

    public void setCollectDeviceId(Integer collectDeviceId) {
        this.collectDeviceId = collectDeviceId;
    }

    public Integer getIotDeviceId() {
        return iotDeviceId;
    }

    public void setIotDeviceId(Integer iotDeviceId) {
        this.iotDeviceId = iotDeviceId;
    }

    public String getIotDeviceCode() {
        return iotDeviceCode;
    }

    public void setIotDeviceCode(String iotDeviceCode) {
        this.iotDeviceCode = iotDeviceCode;
    }

    public String getIotDeviceImei() {
        return iotDeviceImei;
    }

    public void setIotDeviceImei(String iotDeviceImei) {
        this.iotDeviceImei = iotDeviceImei;
    }

    public Integer getStarter() {
        return starter;
    }

    public void setStarter(Integer starter) {
        this.starter = starter;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessageObj() {
        return messageObj;
    }

    public void setMessageObj(String messageObj) {
        this.messageObj = messageObj;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
